<?php
return array(
	'detailView' => array(
		'attributes' => array(
			'profile.airlines',
			'profile.aircraft_type',
			'profile.flight',
			array(
				'name' => 'profile.accommodation',
				'value' => Yii::app()->enum->lookup(get_class($model) == 'Ticket' ? 'goods.flightAccommodation' : 'goods.trainAccommodation',CHtml::value($model, 'profile.accommodation'))
			),
			array(
				'name' => 'profile.departure_province',
				'value' => Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.departure_province'))
					.' '.Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.departure_city'))
			),
			array(
				'name' => 'profile.arrival_province',
				'value' => Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.arrival_province'))
					.' '.Yii::app()->enum->lookup('district', CHtml::value($model, 'profile.arrival_city'))
			),
			'profile.departure_time',
			'profile.landing_time',
		),
	),
	'_import' => array(
		array('*', 'actions.goods.goodsView//*'),
		array('detailView.*','actions.goods.goodsView//detailView.*'),
		array('detailView.attributes.*', 'actions.goods.goodsView//detailView.attributes.*'),
	),
)?>